package com.system.dao;

import com.system.entity.Deptment;
import org.springframework.stereotype.Repository;
import org.springframework.web.bind.annotation.CrossOrigin;

@CrossOrigin
@Repository
public interface DeptmentMapper {
    int deleteByPrimaryKey(String deptName);

    int insert(Deptment record);

    int insertSelective(Deptment record);

    Deptment selectByPrimaryKey(String deptName);

    int updateByPrimaryKeySelective(Deptment record);

    int updateByPrimaryKey(Deptment record);
}
